package com.ckh.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ckh.springboot.controller.dto.UserDTO;
import com.ckh.springboot.controller.dto.UserPasswordDTO;
import com.ckh.springboot.entity.SysClass;
import com.ckh.springboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ckh.springboot.vo.GetStudentClockInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ckh
 * @since 2022-04-04
 */
public interface IUserService extends IService<User> {

    User register(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);

    Page<User> findPage(Page<User> objectPage, String username);

    List<GetStudentClockInfoVo> getStudentClockInfo(Integer classId);

    Page<User> getUserList(Page<User> page,String name);
}
